<template>
  <router-view />
</template>

<script>
import { defineComponent } from "vue";
import { refreshDemands } from "./assets/utils";

export default defineComponent({
  name: "App",
  preFetch({ store }) {},
  setup() {
    if (window.electron) {
      refreshDemands(0);
    }
  },
});
</script>
